home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ████▄ ▄████ ████▄ ██▄ ▄██
- ██ ██ ██ ██ ██ ██▀█▀██
- ████▀ ██ ████▀ ██ ██ ▄▄▄ ▄ ▄ ▄ ▄
- ██ ██ ██ ██ ██ █▄ █▀▄█ █ █
- ██ ▀████ ██ ██ ██ █▄▄ █ █ █▄█
-
- Copyright 1990, 1991 - Tony Shelton
-
- An External Protocol Handler for your Comm Package!
-
- P C P M E N U
-
-
-
-
-
- DESCRIPTION:
-
- This documentation has been divided into several sections which will
- demonstrate how to install and run this handy "add-in" to your
- communications package.
-
- This program was born out of the need to add support for the
- many protocols supported by the Digital X-Connect RyBBS. It was
- written primarily for Procomm Plus, but there is no reason it
- can't be used by other telecommunications programs that allow
- the execution of external programs while on-line.
-
-
-
- There, got that out of the way.
-
- INSTALLATION:
-
- This program is purposely small and does a minimum of
- fireworks outside of its intended purpose.
-
- It occupies only about 12.5K of RAM. It does have the ability to
- shell to DOS, which might be handy to those whose modem software
- does not support such a feature.
-
-
-
- Setting up PCPMENU - four basic steps!
-
- Setting up the program requires three basic steps:
-
- 1. Placing a copy of all the files included in your
- PCPMxxx.ZIP disk in the same directory as your communications
- application program (I use the same directory where Procomm is).
-
- 2. Included in the ZIP is a file called FILES.DAT which
- contains a sample set of the information needed to execute the
- external protocols from PCPMenu. This file structure is
- simple and instructions for editing are shown later in this
- document.
-
- The second step is to convert this file to a form which
- PCPMenu can use.
-
- 3. Invoking a Procomm (or other application) HOT KEY to call the
- utility on a single keystroke.
-
- And that will do it! Below is a step by step process to accomplish
- this and start your way to using this handy program.
-
- STEP 1: Number one should be self explanatory. Simply unzip the
- PCPM???.ZIP file using PKUNZIP (this version utilizes
- version 1.10) into your Procomm Plus or other
- communications application directory.
-
- Command example: (assuming C:\PCPLUS\ is dir.)
-
- C:\>PKUNZIP PCPM???.ZIP C:\PCPLUS
-
- Results: PKUNZIP will explode the PCPM???.ZIP file into
- five (5) files listed below:
-
- PCPMENU.EXE ------------ the program
- CONVERT.EXE ------------ conversion utility
- FILES.DAT ------------ example protocol data file
- PCPMENU.DOC ------------ this file
- REGISTER.DOC ------------ information on registering
- PCPMENU
-
-
- STEP 2: For number two, you need a pure ASCII text editor such as
- Qedit, EDLIN or use the ASCII capability in your Word
- Processor. Edit the file FILES.DAT which was created after
- you unzipped PCPM???.ZIP.
-
- There are two methods of using PCPMENU depending on your
- preference of managing your external protocols. The
- first is to invoke a batch file (usually provided with
- the external protocol by it's author):
-
- Your file should look something like this (without the
- comments):
-
- a {character to pick off of the menu}
- Lynx Upload {description}
- c:\modem {directory to find the file}
- lynxup.bat {batch file to execute}
- #? {explained below}
- b
- Lynx Download
- c:\modem
- lynxdn.bat
- #
-
- The last item for each entry is the command line parameter,
- or it is a switch used internally by PCPMENU. These are
- described as follows:
-
- # - means execute a batch file. This signals PCPMENU to
- execute the file through the command interpreter i.e.
- COMMAND.COM.
-
- #? - means execute a batch file and prompt the user for an
- additional command line parameters to be fed to the
- called program.
-
- ? - means you are executing a .COM or .EXE file and you wish
- to pass a command line to it.
-
- Or, you can just leave that line blank and the program (.COM
- or .EXE file only) will execute without a command line. But,
- that line MUST be there.
-
- The second method to utilize FILES.DAT is to place the
- protocol execution command right in FILES.DAT instead of
- a batch file. The command line data can be put directly
- into the FILES.DAT (see accompanying file; modify it to
- suit your directory structure.)
-
- Look at the example above and compare it with the following:
-
- a
- Lynx Upload
- c:\modem
- lynx.exe
- S /B /S ?
-
- -------| the space is needed between the "/S" and the "?".
- The ?-mark tells PCPMENU that more input is needed (in this
- case, the file to be uploaded.) Thus, no more batch files
- are needed!
-
- Either way of implementing the FILES.DAT will work.
-
- You will find that the FILES.DAT included with this
- release is in the second of the two formats!
-
-
- STEP 3: The next step is to convert the FILES.DAT to a useable
- format by PCPMENU.
-
- Having finished creating FILES.DAT run CONVERT.EXE. It will
- take that plain ASCII text file and convert it to a format
- that can be used by PCPMENU and place it in a file called
- FILESREC.DAT.
-
- The FILES.DAT file is not deleted so you can make additions and
- deletions as you desire, just edit the file and re-run CONVERT.
- When you rerun CONVERT, it will automatically delete the old
- FILESREC.DAT and replace it with the newly created file.
-
-
- The command should be issued as follows:
-
- C:\PCPLUS\> CONVERT [n]
-
- There are three options for [n] above. They are:
-
- 1: Convert FILES.DAT to FILESREC.DAT
- 2: Convert FILESREC.DAT to FILES.DAT
- 3: Reorder the command characters
-
- If you enter CONVERT [return] (with no number), the convert
- program will output the proper syntax requirements and options.
-
-
- STEP 4: Finally, install PCPMENU as a hot-key callable file in your
- software (in Procomm - Alt-J or Alt-U).
-
- This is done in Procomm by choosing the ALT-S, set-up, key and
- moving the cursor to FILE\PATH OPTIONS and hitting <enter>. The
- two bottom options will allow you to enter program names into
- the ALT-J and ALT-U hot keys. Simply enter PCPMENU.EXE into one
- of them.
-
- Be sure to save the set-up when finished!
-
- You can now verify PCPMENU is operational by hitting the ALT-J
- or ALT-U hot key. The PCPMENU screen will appear.
- Congratulations! You now have a full and complete external
- protocol interface ready to save you time and money!
-
-
- OPERATING PCPMenu:
-
- Operation of PCPMenu is simple: when you are ready to transfer a
- file from the bulletin board and the board prompts you to begin the
- transfer, simply use either the hotkey command, Alt-J or Alt-U,
- or drop to DOS and execute PCPmenu.
-
- A menu (which you essentially provided the data for in
- FILES.DAT) will pop up on your screen. The Menu will look like
- this:
- ------------------------------------------------------------------------
- PROTOCOL MENU
- Page: 1
-
-
- a - Lynx Download
- b - Zmodem Download
- c - T-Modem Download
-
-
-
-
-
-
-
-
- 1 - Shell to DOS Beep ON q - Quit
- Enter Your Choice:
- SPACE - Toggle Beep ESC- Swap Pages
- -----------------------------------------------------------------------
-
-
- Just key in the letter corresponding to the protocol desired and
- PCPMenu will execute the batch file or command line for the
- protocol you placed in that assigned letter.
-
- Also from the PCPMenu screen you can Drop To DOS by typing a
- "1". This operates like any drop to DOS and will allow you to
- edit FILES.DAT as you learn to utilize new protocols etc.
-
- The Space Bar will toggle the PCPmenu "Beep" which alerts you
- when uploading or downloading is complete. This is handy for
- extended file transfers. The status of the "beep" switch is
- shown as Beep ON or Beep OFF.
-
- "Q" will quit the PCPmenu screen and return you to your
- communications package, or to DOS depending on where you
- executed the program from.
-
- The ESCape key allows you to switch pages in a cyclical fashion.
- For those of you wanting to set up a variety of external options,
- PCPMenu is perfect. Up to 256 pages of 38 external protocols can
- be installed in FILES.DAT!!!!
-
- Obviously, this is excessive, but there is a reason. You can
- force a page break by inserting "|" character in FILES.DAT.
- I suggest you use a bunch on one line just for clarity. This
- is illustrated in the sample FILES.DAT.
-
- This feature is handy should you want to segregate your protocols,
- i.e. put all DSZ-driven protocols on a seperate page.
-
- Legal stuff:
- PCPMENU is being offered as shareware. That means if you use it,
- you should pay for it.
-
-
- Revision History:
-
- *********************************************************************
-
- New features: (2/10/90)
-
- For those protocols that do not have an "alert" beeper to signal
- when a transfer is completed, or the program has aborted; I have
- added a BEEP toggle. Pressing the spacebar toggles the beep on
- and off.
-
- *********************************************************************
-
- New features: (3/3/90)
-
- Made a few code changes to reduce the amount of memory taken
- by the program. Added the ability to have a command line
- of up to 80 characters instead of 25. This became a necessity
- with batch uploads that had many long paths.
-
- *********************************************************************
-
- Fix: (4/8/90)
-
- I found that I was allocating 80 bytes to each element of an
- array when I only needed 20. This saves about 3-4K
-
- *********************************************************************
-
- New features: (5/12/90)
-
- CONVERT now does three things:
- 1. converts FILES.DAT to FILESREC.DAT (original function).
- 2. converts FILESREC.DAT back to FILES.DAT, this is for those
- that use the ADDP and DELP programs.
- 3. re-orders the command characters should you do a lot of
- rearranging, adding, and deleting of protocols.
-
- *********************************************************************
-
- Fix: (7/1/90)
-
- I discovered that I was using a reserved word for a variable.
- The compiler didn't catch it, and there were no problems that
- I found. But, better safe than sorry!
-
- *********************************************************************
-
- New feature: (10/7/90)
-
- Batch files are now a thing of the past. Added a parsing routine
- needed to do away with batch files where additional information is
- needed to be passed to the command line.
-
- *********************************************************************
-
- New features (12/19/90) v2.00
-
- Added the ability to handle multiple pages of protocols.
-
- *********************************************************************
- If you have any questions or find a bug, you can contact me on
- The Digital X-Connect BBS, 214/517-8443, or at my Compuserve
- address 75156,3233.
-
- Credit goes to Dave Stoops and Andy Walding for making this
- document understandable by humans, and to Andy Walding,
- Sysop of the Digital X-Connect for proof-reading and formatting
- it nicely. Any errors in it are my own.
-
- I hope you find this program a handy tool in your BBS'ing.
-
- Tony Shelton
-